package com.romotc.qqrobot.webqq.qqInterfaceCall;

import org.json.JSONObject;

import com.romotc.qqrobot.bean.QQLogedin;
import com.romotc.qqrobot.webqq.WebQQConstant;
import com.romotc.qqrobot.webqq.qqInterfaceCall.base.Getimage_InterCall;
import com.romotc.qqrobot.webqq.qqInterfaceCall.dataProcessor.GetImage_DeVcode_Process;
/**
 * 注册时验证码接口调用
 * @author romotc
 *
 */
public class GetImage_InterCall extends Getimage_InterCall {

	private static GetImage_InterCall instance;
	public static GetImage_InterCall getInstance() {
		if(instance == null)
			instance = new GetImage_InterCall();
		return instance;
	}
	
	@Override
	public int getAid() {
		return WebQQConstant.APPID;
	}

	public String getHeader_Referer() {
		return "http://zc.qq.com/chs/index.html";
	}
	
	public static void main(String[] args) throws Exception{
		QQLogedin qq = new QQLogedin();
		JSONObject reqDataObj = new JSONObject(); 
		GetImage_InterCall.getInstance().call(qq, reqDataObj, GetImage_DeVcode_Process.getInstance());
		
	}
}
